use serde::{Deserialize, Serialize};
use QcMacros::Comp;

use super::light::{Light, LightType};

#[derive(Debug, Comp, Clone, Serialize, Deserialize)]
pub struct PointLight {
    inner: ComponentInner,
    pub light: Light,
}

impl PointLight {
    fn new() {}
}

impl Default for PointLight {
    fn default() -> Self {
        Self {
            inner: ComponentInner::default(),
            light: Light::default().with_type(LightType::Point),
        }
    }
}
